home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ddddiiiiaaaaggggsssseeeettttuuuupppp((((1111MMMM)))) ddddiiiiaaaaggggsssseeeettttuuuupppp((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- diagsetup - control the contents of the diag user's running of cached and
- onlinediag
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ddddiiiiaaaaggggsssseeeettttuuuupppp ----xxxx "cached <options>" [----hhhh | ----dddd hour | ----wwww wkday |
- ----mmmm monthday | ----nnnn] [----tttt hour]
- ddddiiiiaaaaggggsssseeeettttuuuupppp ----xxxx "onlinediag <options>" [----hhhh | ----dddd hour | ----wwww wkday
- | ----mmmm monthday | ----nnnn] [----tttt hour]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _d_i_a_g_s_e_t_u_p controls the running of _c_a_c_h_e_d and _o_n_l_i_n_e_d_i_a_g by the diag user.
- This command can be used to either turn off the running of these
- diagnostic tests or to make them run more frequently or less frequently
- then they do by default.
-
- The ----xxxx _c_a_c_h_e_d <_o_p_t_i_o_n_s> | _o_n_l_i_n_e_d_i_a_g <_o_p_t_i_o_n_s> parameter indicates which
- diagnostic testing program we are modifying the behavior of. We can
- modify the frequency of running one of these programs. The -x parameter
- must be present for this program to run.
-
- The ----hhhh parameter indicates that the given program will be run once an
- hour on the hour. This parameter is the default for the cached
- diagnostic program.
-
- The ----dddd _h_o_u_r parameter indicates that the given program will be run once a
- day on the given hour. This parameter with the "0" hour is the default
- for the onlinediag diagnostic program.
-
- The ----wwww _w_e_e_k_d_a_y parameter indicates that the given program will be run
- once a week on the given day of the week.
-
- The ----mmmm _m_o_n_t_h_d_a_y parameter indicates that the given program will be run
- once a month on the given day of the month.
-
- The ----nnnn parameter indicates that the given program should never be run.
- It turns off the periodic testing until someone turns it back on.
-
- The ----tttt _h_o_u_r parameter indicates the hour on a given day of the month or
- day of a week (used with the -w or -m parameters) that the program should
- be run. If this is not specified, the default is the "0" hour
- (midnight).
-
-
-
- OOOOVVVVEEEERRRRVVVVIIIIEEEEWWWW
- _d_i_a_g_s_e_t_u_p modifies the crontab file of the diag user. The diag user is
- in charge of running of the _c_a_c_h_e_d and _o_n_l_i_n_e_d_i_a_g programs that run
- sanity checks during run time. Because the diag user has the same user
- id as the root user, the diagnostic tests run with root permissions.
- However, this means the crontab file of the diag user cannot be modified
- using the _c_r_o_n_t_a_b command (it will try to modify the root crontab
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ddddiiiiaaaaggggsssseeeettttuuuupppp((((1111MMMM)))) ddddiiiiaaaaggggsssseeeettttuuuupppp((((1111MMMM))))
-
-
-
- instead). diagsetup can be used to easily modify the diag user's crontab
- file. If the diag crontab file is modified directly, diagsetup may no
- longer run correctly.
-
- _d_i_a_g_s_e_t_u_p overwrites the crontab file of the diag user every time that it
- runs and also sends a SIGHUP to cron so that it will process the new
- crontab file.
-
-
-
- FFFFIIIILLLLEEEESSSS
- /usr/diags the diag user's home directory
- /usr/diags/bin/diagsetup location of diagsetup script
- /var/spool/cron/crontabs/diag
- crontab of the diag user
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- cached(1M), onlinediag(1M)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-